package hy.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;

@Service
public class A {
    @Autowired
    AccountServiceImpl service;
    @Transactional
    public void a(String from, String to, Double money)throws Exception{
        service.transfer(from,to,money);

    }
}
